package com.j.lemon.learn.basic.designModel.工厂模式.method;

public class Consumer {
    public static void main(String[] args) {
        BaomaCarFactory baomaCarFactory = new BaomaCarFactory();
        Car car = baomaCarFactory.getCar();

        BenchiCarFactory benchiCarFactory = new BenchiCarFactory();
        Car car1 = benchiCarFactory.getCar();
    }
}
